package com.j180.bean;

import java.io.Serializable;
 
/**
 * 订单明细类
 */
public class Detail implements Serializable {

    //明细id
    private Integer id;
    //商品
    private StoGoods stoGoods;
    //商品数量
    private Integer gNum;
    //服务
    private Service service;
    //服务数量
    private Integer sNum;
    //订单
    private Order order;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public StoGoods getStoGoods() {
        return stoGoods;
    }

    public void setStoGoods(StoGoods stoGoods) {
        this.stoGoods = stoGoods;
    }

    public Integer getgNum() {
        return gNum;
    }

    public void setgNum(Integer gNum) {
        this.gNum = gNum;
    }

    public Service getService() {
        return service;
    }

    public void setService(Service service) {
        this.service = service;
    }

    public Integer getsNum() {
        return sNum;
    }

    public void setsNum(Integer sNum) {
        this.sNum = sNum;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "Detail{" +
                "id=" + id +
                ", stoGoods=" + stoGoods +
                ", gNum=" + gNum +
                ", service=" + service +
                ", sNum=" + sNum +
                ", order=" + order +
                '}';
    }
}
